package com.chiry.business;

import com.ruoyi.common.core.text.UUID;

import java.io.IOException;
import java.util.concurrent.ThreadLocalRandom;

/**
 * @author fyx
 * @version 1.0
 * @date 2021/8/17 11:28
 */
public class VisualCommand {
    public static void main(String[] args) throws IOException {
        int dirPrefix = Math.abs(UUID.getRandom().nextInt());
        System.out.println(dirPrefix);


        String cmd = "C:\\Users\\fyxdd\\anaconda3\\envs\\my_paddlex\\model\\scrip.cmd" +
                " http://192.168.1.129:9000/aws-cn-insect-images/image/294d1f07-3d1f-4d3a-94d8-b81ceb1da930.jpg" +
                " "+dirPrefix;
        String result = CMDUtil.excuteCMDCommand(cmd);
        System.out.println(result);
    }
}
